package superpodder.controller;

public class FeedHistory {

    //should be private
    
    // keep it strings so it is flexible
    // enums might be more restrictive.
    /**
     * Date this type of error was first seen
     */
    String date = null;
    /**
     * date this error is last seen. Used to filter out failures on the same day
     * to prevent a skewed presentation of failures.
     */
    String dateLastSeen = "";
    /**
     * Type of failure: error, no_podcast, already_downloaded
     */
    
    String type = null;
    /**
     * How many times have we seen the same consecutive failure.
     */
    int count = 0;
    
    public FeedHistory(String date, String type, int count){
        
        this.date = date;
        this.dateLastSeen = date;
        this.type = type;
        this.count = count;
        
    }
}
